package com.supermap.business.push;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.HashMap;
import java.util.Map;

/**
 * @author aqua
 * @description
 * @date 2018年11月23 上午 10:40
 * @email 1301584033@qq.com
 */
@Controller
@RequestMapping("/push")
public class JpushController {
    @Autowired
    JpushService jpushService;
    @RequestMapping("/sendPush")
    @ResponseBody
    public void sendPush(String title,String content,String alias[]){
        jpushService.sendPushWithCallback(title, content, null, alias);



    }


}
